package com.mambike.dubbocommon.service;

import com.mambike.dubbocommon.pojo.CommonResult;
import com.mambike.dubbocommon.pojo.Order;

/**
 * @author Jiax
 * @version 1.0.0
 * @description: IOrderService
 * @date 2025-01-21 10:07
 */
public interface IOrderService {
    /**
     * 1.创建订单
     * @param orders
     * @return
     */
    CommonResult createOrders(Order orders);

    /**
     * 2.根据用户ID查询订单详情
     * @param userId
     * @return
     */
    CommonResult findByUserId(Long userId);
}
